import { Module, Global } from '@nestjs/common';
import { LodashService } from './lodash.service';

/**
 * Lodash 工具函数库模块
 * 基于 NestJS 官方示例实现
 * 参考: https://docs.nestjs.cn/fundamentals/dependency-injection
 * 对应 Java: StringUtils, ObjectUtils, ArrayUtils
 */
@Global()
@Module({
  providers: [LodashService],
  exports: [LodashService],
})
export class LodashModule {}
